package command.fileComm;

import command.Command;
import model.fileModel.FileModel;
import server.ServerThread;

public class SelectQxCommand extends Command {
    @Override
    public void excute() {
        int file_id = (int) this.o;
        int user_id = this.user.getId();
        try {
            this.r = new FileModel().SelectQxById(user_id,file_id).get(0)[0];
        }
        catch (Exception ex){
            this.e = ex;
        }
    }

    @Override
    public void excute(ServerThread st) {

    }
}
